home *** CD-ROM | disk | FTP | other *** search
/ BBS in a Box 5 / BBS in a Box -Volume V (BBS in a Box) (April 1992).iso / Files / Prog / M / Mac gperf 1.9.cpt / Mac gperf 1.9 / docs / ChangeLog next >
MacBinary  |  1991-03-09  |  8.5 KB  |  [TEXT/KAHL]

open in: MacOS 8.1     |     Win98     |     DOS

browse contents    |     view JSON data     |     view as text


This file was processed as: MacBinary (archive/macBinary).

ConfidenceProgramDetectionMatch TypeSupport
10% dexvert MacBinary (archive/macBinary) fallback Supported
1% dexvert Text File (text/txt) fallback Supported
100% file MacBinary II, Fri Mar 8 23:52:25 1991, modified Fri Mar 8 23:52:25 1991, creator Think C, type ASCII, 8012 bytes "ChangeLog" , at 0x1fcc 428 bytes resource default (weak)
99% file data default
74% TrID Macintosh plain text (MacBinary) default
25% TrID MacBinary 2 default (weak)
100% siegfried fmt/1762 MacBinary (II) default
100% lsar MacBinary default


id metadata
keyvalue
macFileType[TEXT]
macFileCreator[KAHL]



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 09 43 68 61 6e 67 65 | 4c 6f 67 00 00 00 00 00 |..Change|Log.....|
|00000010| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000040| 00 54 45 58 54 4b 41 48 | 4c 00 00 00 00 00 00 00 |.TEXTKAH|L.......|
|00000050| 00 00 00 00 00 1f 4c 00 | 00 01 ac a3 fe 1a 89 a3 |......L.|........|
|00000060| fe 1a 89 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000070| 00 00 00 00 00 00 00 00 | 00 00 81 81 1f 95 00 00 |........|........|
|00000080| 4d 6f 6e 20 4f 63 74 20 | 31 36 20 31 39 3a 35 38 |Mon Oct |16 19:58|
|00000090| 3a 30 38 20 31 39 38 39 | 20 20 44 6f 75 67 20 53 |:08 1989| Doug S|
|000000a0| 63 68 6d 69 64 74 20 20 | 28 73 63 68 6d 69 64 74 |chmidt |(schmidt|
|000000b0| 20 61 74 20 67 6c 61 63 | 69 65 72 2e 69 63 73 2e | at glac|ier.ics.|
|000000c0| 75 63 69 2e 65 64 75 29 | 0d 0d 20 20 20 20 20 20 |uci.edu)|.. |
|000000d0| 20 20 2a 20 46 69 78 65 | 64 20 61 20 6e 75 6d 62 | * Fixe|d a numb|
|000000e0| 65 72 20 6f 66 20 73 6d | 61 6c 6c 20 62 75 67 73 |er of sm|all bugs|
|000000f0| 20 6b 69 6e 64 6c 79 20 | 62 72 6f 75 67 68 74 20 | kindly |brought |
|00000100| 74 6f 20 6d 79 20 61 74 | 74 65 6e 74 69 6f 6e 20 |to my at|tention |
|00000110| 62 79 0d 20 20 20 20 20 | 20 20 20 20 20 41 64 61 |by. | Ada|
|00000120| 6d 20 64 65 20 42 6f 6f | 72 20 28 62 73 77 21 61 |m de Boo|r (bsw!a|
|00000130| 64 61 6d 40 75 75 6e 65 | 74 2e 55 55 2e 4e 45 54 |dam@uune|t.UU.NET|
|00000140| 29 2e 20 20 54 68 61 6e | 6b 73 20 41 64 61 6d 21 |). Than|ks Adam!|
|00000150| 20 20 49 6e 20 70 61 72 | 74 69 63 75 6c 61 72 2c | In par|ticular,|
|00000160| 0d 20 20 20 20 20 20 20 | 20 20 20 63 68 61 6e 67 |. | chang|
|00000170| 65 64 20 74 68 65 20 62 | 65 68 61 76 69 6f 72 20 |ed the b|ehavior |
|00000180| 66 6f 72 20 74 68 65 20 | 2d 61 20 28 41 4e 53 49 |for the |-a (ANSI|
|00000190| 29 20 6f 70 74 69 6f 6e | 20 73 6f 20 74 68 61 74 |) option| so that|
|000001a0| 20 74 68 65 0d 20 20 20 | 20 20 20 20 20 20 20 67 | the. | g|
|000001b0| 65 6e 65 72 61 74 65 64 | 20 70 72 6f 74 6f 74 79 |enerated| prototy|
|000001c0| 70 65 73 20 75 73 65 20 | 69 6e 74 20 72 61 74 68 |pes use |int rath|
|000001d0| 65 72 20 74 68 61 6e 20 | 73 69 7a 65 5f 74 20 66 |er than |size_t f|
|000001e0| 6f 72 20 74 68 65 20 4c | 45 4e 20 0d 20 20 20 20 |or the L|EN . |
|000001f0| 20 20 20 20 20 20 70 61 | 72 61 6d 65 74 65 72 2e | pa|rameter.|
|00000200| 20 20 49 74 20 77 61 73 | 20 74 6f 6f 20 75 67 6c | It was| too ugl|
|00000210| 79 20 68 61 76 69 6e 67 | 20 74 6f 20 23 69 6e 63 |y having| to #inc|
|00000220| 6c 75 64 65 20 3c 73 74 | 64 64 65 66 2e 68 3e 20 |lude <st|ddef.h> |
|00000230| 61 6c 6c 0d 20 20 20 20 | 20 20 20 20 20 20 6f 76 |all. | ov|
|00000240| 65 72 20 74 68 65 20 70 | 6c 61 63 65 2e 2e 2e 0d |er the p|lace....|
|00000250| 0d 20 20 20 20 20 20 20 | 20 2a 20 41 64 64 65 64 |. | * Added|
|00000260| 20 61 20 6d 61 6a 6f 72 | 6c 79 20 6e 65 61 74 20 | a major|ly neat |
|00000270| 68 61 63 6b 20 74 6f 20 | 42 6f 6f 6c 5f 41 72 72 |hack to |Bool_Arr|
|00000280| 61 79 2c 20 73 75 67 67 | 65 73 74 65 64 20 62 79 |ay, sugg|ested by|
|00000290| 20 72 66 67 2e 0d 20 20 | 20 20 20 20 20 20 20 20 | rfg.. | |
|000002a0| 54 68 65 20 62 61 73 69 | 63 20 69 64 65 61 20 77 |The basi|c idea w|
|000002b0| 61 73 20 74 6f 20 74 68 | 72 6f 77 20 61 77 61 79 |as to th|row away|
|000002c0| 20 74 68 65 20 55 6c 6c | 6d 61 6e 20 61 72 72 61 | the Ull|man arra|
|000002d0| 79 20 74 65 63 68 6e 69 | 71 75 65 2e 0d 20 20 20 |y techni|que.. |
|000002e0| 20 20 20 20 20 20 20 54 | 68 65 20 55 6c 6c 6d 61 | T|he Ullma|
|000002f0| 6e 20 61 72 72 61 79 20 | 77 61 73 20 75 73 65 64 |n array |was used|
|00000300| 20 74 6f 20 72 65 6d 6f | 76 65 20 74 68 65 20 6e | to remo|ve the n|
|00000310| 65 65 64 20 74 6f 20 72 | 65 69 6e 69 74 69 61 6c |eed to r|einitial|
|00000320| 69 7a 65 20 61 6c 6c 20 | 0d 20 20 20 20 20 20 20 |ize all |. |
|00000330| 20 20 20 74 68 65 20 42 | 6f 6f 6c 5f 41 72 72 61 | the B|ool_Arra|
|00000340| 79 20 65 6c 65 6d 65 6e | 74 73 20 74 6f 20 7a 65 |y elemen|ts to ze|
|00000350| 72 6f 20 65 76 65 72 79 | 74 69 6d 65 20 77 65 20 |ro every|time we |
|00000360| 6e 65 65 64 65 64 20 74 | 6f 20 64 65 74 65 72 6d |needed t|o determ|
|00000370| 69 6e 65 0d 20 20 20 20 | 20 20 20 20 20 20 77 68 |ine. | wh|
|00000380| 65 74 68 65 72 20 74 68 | 65 72 65 20 77 65 72 65 |ether th|ere were|
|00000390| 20 64 75 70 6c 69 63 61 | 74 65 20 68 61 73 68 20 | duplica|te hash |
|000003a0| 76 61 6c 75 65 73 20 69 | 6e 20 74 68 65 20 6b 65 |values i|n the ke|
|000003b0| 79 77 6f 72 64 20 6c 69 | 73 74 2e 20 20 0d 20 20 |yword li|st. . |
|000003c0| 20 20 20 20 20 20 20 20 | 54 68 65 20 63 75 72 72 | |The curr|
|000003d0| 65 6e 74 20 74 72 69 63 | 6b 20 75 73 65 73 20 61 |ent tric|k uses a|
|000003e0| 6e 20 60 69 74 65 72 61 | 74 69 6f 6e 20 6e 75 6d |n `itera|tion num|
|000003f0| 62 65 72 27 20 73 63 68 | 65 6d 65 2c 20 77 68 69 |ber' sch|eme, whi|
|00000400| 63 68 20 74 61 6b 65 73 | 0d 20 20 20 20 20 20 20 |ch takes|. |
|00000410| 20 20 20 61 62 6f 75 74 | 20 31 2f 33 20 74 68 65 | about| 1/3 the|
|00000420| 20 73 70 61 63 65 20 61 | 6e 64 20 72 65 64 75 63 | space a|nd reduc|
|00000430| 65 73 20 74 68 65 20 6f | 76 65 72 61 6c 6c 20 70 |es the o|verall p|
|00000440| 72 6f 67 72 61 6d 20 72 | 75 6e 6e 69 6e 67 20 61 |rogram r|unning a|
|00000450| 20 0d 20 20 20 20 20 20 | 20 20 20 20 74 69 6d 65 | . | time|
|00000460| 20 62 79 20 61 62 6f 75 | 74 20 32 30 20 70 65 72 | by abou|t 20 per|
|00000470| 63 65 6e 74 20 66 6f 72 | 20 6c 61 72 67 65 20 69 |cent for| large i|
|00000480| 6e 70 75 74 21 20 20 54 | 68 65 20 68 61 63 6b 20 |nput! T|he hack |
|00000490| 77 6f 72 6b 73 20 61 73 | 20 0d 20 20 20 20 20 20 |works as| . |
|000004a0| 20 20 20 20 66 6f 6c 6c | 6f 77 73 3a 0d 20 20 20 | foll|ows:. |
|000004b0| 20 20 20 20 20 20 20 0d | 20 20 20 20 20 20 20 20 | .| |
|000004c0| 20 20 31 2e 20 44 79 6e | 61 6d 69 63 61 6c 6c 79 | 1. Dyn|amically|
|000004d0| 20 61 6c 6c 6f 63 61 74 | 69 6f 6e 20 31 20 62 6f | allocat|ion 1 bo|
|000004e0| 6f 6c 65 61 6e 20 61 72 | 72 61 79 20 6f 66 20 73 |olean ar|ray of s|
|000004f0| 69 7a 65 20 6b 2e 0d 20 | 20 20 20 20 20 20 20 20 |ize k.. | |
|00000500| 20 32 2e 20 49 6e 69 74 | 69 61 6c 69 7a 65 20 74 | 2. Init|ialize t|
|00000510| 68 65 20 62 6f 6f 6c 65 | 61 6e 20 61 72 72 61 79 |he boole|an array|
|00000520| 20 74 6f 20 7a 65 72 6f | 73 2c 20 61 6e 64 20 63 | to zero|s, and c|
|00000530| 6f 6e 73 69 64 65 72 20 | 74 68 65 20 66 69 72 73 |onsider |the firs|
|00000540| 74 0d 20 20 20 20 20 20 | 20 20 20 20 20 20 20 69 |t. | i|
|00000550| 74 65 72 61 74 69 6f 6e | 20 74 6f 20 62 65 20 69 |teration| to be i|
|00000560| 74 65 72 61 74 69 6f 6e | 20 31 2e 0d 20 20 20 20 |teration| 1.. |
|00000570| 20 20 20 20 20 20 32 2e | 20 54 68 65 6e 20 6f 6e | 2.| Then on|
|00000580| 20 61 6c 6c 20 73 75 62 | 73 65 71 75 65 6e 74 20 | all sub|sequent |
|00000590| 69 74 65 72 61 74 69 6f | 6e 73 20 77 65 20 60 72 |iteratio|ns we `r|
|000005a0| 65 73 65 74 27 20 74 68 | 65 20 62 6f 6f 6c 20 61 |eset' th|e bool a|
|000005b0| 72 72 61 79 20 62 79 0d | 20 20 20 20 20 20 20 20 |rray by.| |
|000005c0| 20 20 20 20 20 6b 69 63 | 6b 69 6e 67 20 74 68 65 | kic|king the|
|000005d0| 20 69 74 65 72 61 74 69 | 6f 6e 20 63 6f 75 6e 74 | iterati|on count|
|000005e0| 20 62 79 20 31 2e 20 0d | 20 20 20 20 20 20 20 20 | by 1. .| |
|000005f0| 20 20 33 2e 20 57 68 65 | 6e 20 69 74 20 63 6f 6d | 3. Whe|n it com|
|00000600| 65 73 20 74 69 6d 65 20 | 74 6f 20 63 68 65 63 6b |es time |to check|
|00000610| 20 77 68 65 74 68 65 72 | 20 61 20 68 61 73 68 20 | whether| a hash |
|00000620| 76 61 6c 75 65 20 69 73 | 20 63 75 72 72 65 6e 74 |value is| current|
|00000630| 6c 79 0d 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |ly. | |
|00000640| 69 6e 20 74 68 65 20 62 | 6f 6f 6c 65 61 6e 20 61 |in the b|oolean a|
|00000650| 72 72 61 79 20 77 65 20 | 73 69 6d 70 6c 79 20 63 |rray we |simply c|
|00000660| 68 65 63 6b 20 69 74 73 | 20 69 6e 64 65 78 20 6c |heck its| index l|
|00000670| 6f 63 61 74 69 6f 6e 2e | 20 20 49 66 0d 20 20 20 |ocation.| If. |
|00000680| 20 20 20 20 20 20 20 20 | 20 20 74 68 65 20 76 61 | | the va|
|00000690| 6c 75 65 20 73 74 6f 72 | 65 64 20 74 68 65 72 65 |lue stor|ed there|
|000006a0| 20 69 73 20 2a 6e 6f 74 | 2a 20 65 71 75 61 6c 20 | is *not|* equal |
|000006b0| 74 6f 20 74 68 65 20 63 | 75 72 72 65 6e 74 20 69 |to the c|urrent i|
|000006c0| 74 65 72 61 74 69 6f 6e | 0d 20 20 20 20 20 20 20 |teration|. |
|000006d0| 20 20 20 20 20 20 6e 75 | 6d 62 65 72 20 74 68 65 | nu|mber the|
|000006e0| 6e 20 74 68 65 20 69 74 | 65 6d 20 69 73 20 63 6c |n the it|em is cl|
|000006f0| 65 61 72 6c 79 20 2a 6e | 6f 74 2a 20 69 6e 20 74 |early *n|ot* in t|
|00000700| 68 65 20 73 65 74 2e 20 | 20 49 6e 20 74 68 61 74 |he set. | In that|
|00000710| 0d 20 20 20 20 20 20 20 | 20 20 20 20 20 20 63 61 |. | ca|
|00000720| 73 65 20 77 65 20 61 73 | 73 69 67 6e 20 74 68 65 |se we as|sign the|
|00000730| 20 69 74 65 72 61 74 69 | 6f 6e 20 6e 75 6d 62 65 | iterati|on numbe|
|00000740| 72 20 74 6f 20 74 68 61 | 74 20 61 72 72 61 79 27 |r to tha|t array'|
|00000750| 73 20 69 6e 64 65 78 0d | 20 20 20 20 20 20 20 20 |s index.| |
|00000760| 20 20 20 20 20 6c 6f 63 | 61 74 69 6f 6e 20 66 6f | loc|ation fo|
|00000770| 72 20 66 75 74 75 72 65 | 20 72 65 66 65 72 65 6e |r future| referen|
|00000780| 63 65 2e 20 20 4f 74 68 | 65 72 77 69 73 65 2c 20 |ce. Oth|erwise, |
|00000790| 69 66 20 74 68 65 20 69 | 74 65 6d 20 61 74 0d 20 |if the i|tem at. |
|000007a0| 20 20 20 20 20 20 20 20 | 20 20 20 20 74 68 65 20 | | the |
|000007b0| 69 6e 64 65 78 20 6c 6f | 63 61 74 69 6f 6e 20 2a |index lo|cation *|
|000007c0| 69 73 2a 20 65 71 75 61 | 6c 20 74 6f 20 74 68 65 |is* equa|l to the|
|000007d0| 20 69 74 65 72 61 74 69 | 6f 6e 20 6e 75 6d 62 65 | iterati|on numbe|
|000007e0| 72 20 77 65 27 76 65 0d | 20 20 20 20 20 20 20 20 |r we've.| |
|000007f0| 20 20 20 20 20 66 6f 75 | 6e 64 20 61 20 64 75 70 | fou|nd a dup|
|00000800| 6c 69 63 61 74 65 2e 20 | 20 4e 6f 20 6d 75 73 73 |licate. | No muss|
|00000810| 2c 20 6e 6f 20 66 75 73 | 73 21 0d 0d 54 68 75 20 |, no fus|s!..Thu |
|00000820| 4f 63 74 20 31 32 20 31 | 38 3a 30 38 3a 34 33 20 |Oct 12 1|8:08:43 |
|00000830| 31 39 38 39 20 20 44 6f | 75 67 20 53 63 68 6d 69 |1989 Do|ug Schmi|
|00000840| 64 74 20 20 28 73 63 68 | 6d 69 64 74 20 61 74 20 |dt (sch|midt at |
|00000850| 7a 6f 6c 61 2e 69 63 73 | 2e 75 63 69 2e 65 64 75 |zola.ics|.uci.edu|
|00000860| 29 0d 0d 20 20 20 20 20 | 20 20 20 2a 20 55 70 64 |).. | * Upd|
|00000870| 61 74 65 64 20 74 68 65 | 20 76 65 72 73 69 6f 6e |ated the| version|
|00000880| 20 6e 75 6d 62 65 72 20 | 74 6f 20 31 2e 39 2e 0d | number |to 1.9..|
|00000890| 0d 20 20 20 20 20 20 20 | 20 2a 20 41 64 64 65 64 |. | * Added|
|000008a0| 20 73 75 70 70 6f 72 74 | 20 66 6f 72 20 74 68 65 | support| for the|
|000008b0| 20 2d 43 20 6f 70 74 69 | 6f 6e 2e 20 20 54 68 69 | -C opti|on. Thi|
|000008c0| 73 20 6d 61 6b 65 73 20 | 74 68 65 20 63 6f 6e 74 |s makes |the cont|
|000008d0| 65 6e 74 73 20 6f 66 0d | 20 20 20 20 20 20 20 20 |ents of.| |
|000008e0| 20 20 61 6c 6c 20 67 65 | 6e 65 72 61 74 65 64 20 | all ge|nerated |
|000008f0| 74 61 62 6c 65 73 20 60 | 72 65 61 64 6f 6e 6c 79 |tables `|readonly|
|00000900| 27 2e 0d 0d 20 20 20 20 | 20 20 20 20 2a 20 43 68 |'... | * Ch|
|00000910| 61 6e 67 65 64 20 74 68 | 65 20 68 61 6e 64 6c 69 |anged th|e handli|
|00000920| 6e 67 20 6f 66 20 67 65 | 6e 65 72 61 74 65 64 20 |ng of ge|nerated |
|00000930| 73 77 69 74 63 68 65 73 | 20 73 6f 20 74 68 61 74 |switches| so that|
|00000940| 20 74 68 65 72 65 20 69 | 73 0d 20 20 20 20 20 20 | there i|s. |
|00000950| 20 20 20 20 6f 6e 6c 79 | 20 6f 6e 65 20 63 61 6c | only| one cal|
|00000960| 6c 20 74 6f 20 73 74 72 | 5b 6e 5d 3f 63 6d 70 2e |l to str|[n]?cmp.|
|00000970| 20 20 54 68 69 73 20 2a | 67 72 65 61 74 6c 79 2a | This *|greatly*|
|00000980| 20 72 65 64 75 63 65 73 | 20 74 68 65 20 73 69 7a | reduces| the siz|
|00000990| 65 20 6f 66 0d 20 20 20 | 20 20 20 20 20 20 20 74 |e of. | t|
|000009a0| 68 65 20 67 65 6e 65 72 | 61 74 65 64 20 61 73 73 |he gener|ated ass|
|000009b0| 65 6d 62 6c 79 20 63 6f | 64 65 20 6f 6e 20 61 6c |embly co|de on al|
|000009c0| 6c 20 63 6f 6d 70 69 6c | 65 72 73 20 49 27 76 65 |l compil|ers I've|
|000009d0| 20 73 65 65 6e 2e 0d 0d | 20 20 20 20 20 20 20 20 | seen...| |
|000009e0| 2a 20 46 69 78 65 64 20 | 61 20 73 75 62 74 6c 65 |* Fixed |a subtle|
|000009f0| 20 62 75 67 20 74 68 61 | 74 20 6f 63 63 75 72 72 | bug tha|t occurr|
|00000a00| 65 64 20 77 68 65 6e 20 | 74 68 65 20 2d 6c 20 61 |ed when |the -l a|
|00000a10| 6e 64 20 2d 53 20 6f 70 | 74 69 6f 6e 0d 20 20 20 |nd -S op|tion. |
|00000a20| 20 20 20 20 20 20 20 77 | 61 73 20 67 69 76 65 6e | w|as given|
|00000a30| 2e 20 20 43 6f 64 65 20 | 70 72 6f 64 75 63 65 64 |. Code |produced|
|00000a40| 20 6c 6f 6f 6b 65 64 20 | 73 6f 6d 65 74 68 69 6e | looked |somethin|
|00000a50| 67 20 6c 69 6b 65 3a 0d | 0d 20 20 20 20 20 20 20 |g like:.|. |
|00000a60| 20 20 20 69 66 20 28 6c | 65 6e 20 21 3d 20 6b 65 | if (l|en != ke|
|00000a70| 79 5f 6c 65 6e 20 7c 7c | 20 21 73 74 72 63 6d 70 |y_len ||| !strcmp|
|00000a80| 20 28 73 31 2c 20 72 65 | 73 77 6f 72 64 2d 3e 6e | (s1, re|sword->n|
|00000a90| 61 6d 65 29 29 20 72 65 | 74 75 72 6e 20 72 65 73 |ame)) re|turn res|
|00000aa0| 77 6f 72 64 3b 0d 0d 20 | 20 20 20 20 20 20 20 20 |word;.. | |
|00000ab0| 20 77 68 69 63 68 20 64 | 6f 65 73 6e 27 74 20 6d | which d|oesn't m|
|00000ac0| 61 6b 65 20 61 6e 79 20 | 73 65 6e 73 65 2e 20 20 |ake any |sense. |
|00000ad0| 43 6c 65 61 72 6c 79 2c | 20 74 68 69 73 20 73 68 |Clearly,| this sh|
|00000ae0| 6f 75 6c 64 20 62 65 3a | 0d 0d 20 20 20 20 20 20 |ould be:|.. |
|00000af0| 20 20 20 20 69 66 20 28 | 6c 65 6e 20 3d 3d 20 6b | if (|len == k|
|00000b00| 65 79 5f 6c 65 6e 20 26 | 26 20 21 73 74 72 63 6d |ey_len &|& !strcm|
|00000b10| 70 20 28 73 31 2c 20 72 | 65 73 77 6f 72 64 2d 3e |p (s1, r|esword->|
|00000b20| 6e 61 6d 65 29 29 20 72 | 65 74 75 72 6e 20 72 65 |name)) r|eturn re|
|00000b30| 73 77 6f 72 64 3b 0d 0d | 53 61 74 20 53 65 70 20 |sword;..|Sat Sep |
|00000b40| 33 30 20 31 32 3a 35 35 | 3a 32 34 20 31 39 38 39 |30 12:55|:24 1989|
|00000b50| 20 20 44 6f 75 67 20 53 | 63 68 6d 69 64 74 20 20 | Doug S|chmidt |
|00000b60| 28 73 63 68 6d 69 64 74 | 20 61 74 20 67 6c 61 63 |(schmidt| at glac|
|00000b70| 69 65 72 2e 69 63 73 2e | 75 63 69 2e 65 64 75 29 |ier.ics.|uci.edu)|
|00000b80| 0d 0d 20 20 20 20 20 20 | 20 20 2a 20 46 69 78 65 |.. | * Fixe|
|00000b90| 64 20 61 20 73 74 75 70 | 69 64 20 62 75 67 20 69 |d a stup|id bug i|
|00000ba0| 6e 20 4b 65 79 5f 4c 69 | 73 74 3a 3a 70 72 69 6e |n Key_Li|st::prin|
|00000bb0| 74 5f 68 61 73 68 5f 66 | 75 6e 63 74 69 6f 6e 20 |t_hash_f|unction |
|00000bc0| 74 68 61 74 20 6d 61 6e | 69 66 65 73 74 65 64 0d |that man|ifested.|
|00000bd0| 20 20 20 20 20 20 20 20 | 20 20 69 74 73 65 6c 66 | | itself|
|00000be0| 20 69 66 20 74 68 65 20 | 60 2d 6b 24 27 20 6f 70 | if the |`-k$' op|
|00000bf0| 74 69 6f 6e 20 77 61 73 | 20 67 69 76 65 6e 20 28 |tion was| given (|
|00000c00| 69 2e 65 2e 2c 20 6f 6e | 6c 79 20 75 73 65 20 74 |i.e., on|ly use t|
|00000c10| 68 65 20 6b 65 79 5b 6c | 65 6e 67 74 68 5d 0d 20 |he key[l|ength]. |
|00000c20| 20 20 20 20 20 20 20 20 | 20 63 68 61 72 61 63 74 | | charact|
|00000c30| 65 72 20 69 6e 20 74 68 | 65 20 68 61 73 68 20 66 |er in th|e hash f|
|00000c40| 75 6e 63 74 69 6f 6e 29 | 2e 0d 0d 4d 6f 6e 20 4a |unction)|...Mon J|
|00000c50| 75 6c 20 32 34 20 31 37 | 3a 30 39 3a 34 36 20 31 |ul 24 17|:09:46 1|
|00000c60| 39 38 39 20 20 44 6f 75 | 67 20 53 63 68 6d 69 64 |989 Dou|g Schmid|
|00000c70| 74 20 20 28 73 63 68 6d | 69 64 74 20 61 74 20 67 |t (schm|idt at g|
|00000c80| 6c 61 63 69 65 72 2e 69 | 63 73 2e 75 63 69 2e 65 |lacier.i|cs.uci.e|
|00000c90| 64 75 29 0d 0d 20 20 20 | 20 20 20 20 20 2a 20 46 |du).. | * F|
|00000ca0| 69 78 65 64 20 61 20 62 | 75 67 20 69 6e 20 50 52 |ixed a b|ug in PR|
|00000cb0| 49 4e 54 5f 4d 49 4e 5f | 4d 41 58 20 74 68 61 74 |INT_MIN_|MAX that|
|00000cc0| 20 72 65 73 75 6c 74 65 | 64 20 69 6e 20 4d 41 58 | resulte|d in MAX|
|00000cd0| 5f 49 4e 54 20 62 65 69 | 6e 67 20 70 72 69 6e 74 |_INT bei|ng print|
|00000ce0| 65 64 0d 20 20 20 20 20 | 20 20 20 20 20 66 6f 72 |ed. | for|
|00000cf0| 20 74 68 65 20 4d 49 4e | 5f 4b 45 59 5f 4c 45 4e | the MIN|_KEY_LEN|
|00000d00| 20 69 66 20 74 68 65 72 | 65 20 77 61 73 20 6f 6e | if ther|e was on|
|00000d10| 6c 79 20 31 20 6b 65 79 | 77 6f 72 64 20 69 6e 20 |ly 1 key|word in |
|00000d20| 74 68 65 20 69 6e 70 75 | 74 20 66 69 6c 65 0d 20 |the inpu|t file. |
|00000d30| 20 20 20 20 20 20 20 20 | 20 28 79 65 61 68 2c 20 | | (yeah, |
|00000d40| 74 68 61 74 27 73 20 61 | 20 70 72 65 74 74 79 20 |that's a| pretty |
|00000d50| 75 6e 6c 69 6b 65 6c 79 | 20 6f 63 63 75 72 72 65 |unlikely| occurre|
|00000d60| 6e 63 65 2c 20 49 20 61 | 67 72 65 65 21 29 2e 0d |nce, I a|gree!)..|
|00000d70| 0d 20 20 20 20 20 20 20 | 20 2a 20 46 69 78 65 64 |. | * Fixed|
|00000d80| 20 50 52 49 4e 54 5f 48 | 41 53 48 5f 46 55 4e 43 | PRINT_H|ASH_FUNC|
|00000d90| 54 49 4f 4e 20 61 6e 64 | 20 50 52 49 4e 54 5f 4c |TION and| PRINT_L|
|00000da0| 4f 4f 4b 55 50 5f 46 55 | 4e 43 54 49 4f 4e 20 69 |OOKUP_FU|NCTION i|
|00000db0| 6e 20 6b 65 79 6c 69 73 | 74 2e 63 0d 20 20 20 20 |n keylis|t.c. |
|00000dc0| 20 20 20 20 20 20 73 6f | 20 74 68 61 74 20 74 68 | so| that th|
|00000dd0| 65 20 67 65 6e 65 72 61 | 74 65 64 20 66 75 6e 63 |e genera|ted func|
|00000de0| 74 69 6f 6e 73 20 74 61 | 6b 65 20 61 6e 20 75 6e |tions ta|ke an un|
|00000df0| 73 69 67 6e 65 64 20 69 | 6e 74 20 6c 65 6e 67 74 |signed i|nt lengt|
|00000e00| 68 20 61 72 67 75 6d 65 | 6e 74 2e 0d 20 20 20 20 |h argume|nt.. |
|00000e10| 20 20 20 20 20 20 49 66 | 20 2d 61 20 69 73 20 65 | If| -a is e|
|00000e20| 6e 61 62 6c 65 64 20 74 | 68 65 20 70 72 6f 74 6f |nabled t|he proto|
|00000e30| 74 79 70 65 20 69 73 20 | 28 63 6f 6e 73 74 20 63 |type is |(const c|
|00000e40| 68 61 72 20 2a 73 74 72 | 2c 20 73 69 7a 65 5f 74 |har *str|, size_t|
|00000e50| 20 6c 65 6e 29 2e 0d 0d | 46 72 69 20 4a 75 6c 20 | len)...|Fri Jul |
|00000e60| 32 31 20 31 33 3a 30 36 | 3a 31 35 20 31 39 38 39 |21 13:06|:15 1989|
|00000e70| 20 20 44 6f 75 67 20 53 | 63 68 6d 69 64 74 20 20 | Doug S|chmidt |
|00000e80| 28 73 63 68 6d 69 64 74 | 20 61 74 20 7a 6f 6c 61 |(schmidt| at zola|
|00000e90| 2e 69 63 73 2e 75 63 69 | 2e 65 64 75 29 0d 0d 20 |.ics.uci|.edu).. |
|00000ea0| 20 20 20 20 20 20 20 2a | 20 46 69 78 65 64 20 61 | *| Fixed a|
|00000eb0| 20 68 6f 72 72 69 62 6c | 65 20 74 79 70 6f 20 69 | horribl|e typo i|
|00000ec0| 6e 20 50 52 49 4e 54 5f | 4b 45 59 57 4f 52 44 5f |n PRINT_|KEYWORD_|
|00000ed0| 54 41 42 4c 45 20 69 6e | 20 6b 65 79 6c 69 73 74 |TABLE in| keylist|
|00000ee0| 2e 63 63 0d 20 20 20 20 | 20 20 20 20 20 20 74 68 |.cc. | th|
|00000ef0| 61 74 20 70 72 65 76 65 | 6e 74 65 64 20 6c 69 6e |at preve|nted lin|
|00000f00| 6b 73 20 66 72 6f 6d 20 | 62 65 69 6e 67 20 70 72 |ks from |being pr|
|00000f10| 69 6e 74 65 64 20 63 6f | 72 72 65 63 74 6c 79 2e |inted co|rrectly.|
|00000f20| 0d 0d 53 75 6e 20 4a 75 | 6c 20 20 39 20 31 37 3a |..Sun Ju|l 9 17:|
|00000f30| 35 33 3a 32 38 20 31 39 | 38 39 20 20 44 6f 75 67 |53:28 19|89 Doug|
|00000f40| 20 53 63 68 6d 69 64 74 | 20 20 28 73 63 68 6d 69 | Schmidt| (schmi|
|00000f50| 64 74 20 61 74 20 67 6c | 61 63 69 65 72 2e 69 63 |dt at gl|acier.ic|
|00000f60| 73 2e 75 63 69 2e 65 64 | 75 29 0d 0d 20 20 20 20 |s.uci.ed|u).. |
|00000f70| 20 20 20 20 2a 20 43 68 | 61 6e 67 65 64 20 74 68 | * Ch|anged th|
|00000f80| 65 20 2e 2f 74 65 73 74 | 73 20 73 75 62 64 69 72 |e ./test|s subdir|
|00000f90| 65 63 74 6f 72 79 20 4d | 61 6b 65 66 69 6c 65 20 |ectory M|akefile |
|00000fa0| 73 6f 20 74 68 61 74 20 | 69 74 20 0d 20 20 20 20 |so that |it . |
|00000fb0| 20 20 20 20 20 20 75 73 | 65 73 20 24 28 43 43 29 | us|es $(CC)|
|00000fc0| 20 69 6e 73 74 65 61 64 | 20 6f 66 20 67 63 63 2e | instead| of gcc.|
|00000fd0| 0d 0d 53 75 6e 20 4a 75 | 6c 20 20 32 20 31 32 3a |..Sun Ju|l 2 12:|
|00000fe0| 31 34 3a 30 34 20 31 39 | 38 39 20 20 44 6f 75 67 |14:04 19|89 Doug|
|00000ff0| 20 53 63 68 6d 69 64 74 | 20 20 28 73 63 68 6d 69 | Schmidt| (schmi|
|00001000| 64 74 20 61 74 20 67 6c | 61 63 69 65 72 2e 69 63 |dt at gl|acier.ic|
|00001010| 73 2e 75 63 69 2e 65 64 | 75 29 0d 0d 20 20 20 20 |s.uci.ed|u).. |
|00001020| 20 20 20 20 2a 20 4d 6f | 76 65 64 20 63 6f 6d 6d | * Mo|ved comm|
|00001030| 65 6e 74 20 68 61 6e 64 | 6c 69 6e 67 20 66 72 6f |ent hand|ling fro|
|00001040| 6d 20 6b 65 79 6c 69 73 | 74 2e 63 20 74 6f 20 72 |m keylis|t.c to r|
|00001050| 65 61 64 6c 69 6e 65 2e | 63 2e 20 20 54 68 69 73 |eadline.|c. This|
|00001060| 0d 20 20 20 20 20 20 20 | 20 20 20 73 69 6d 70 6c |. | simpl|
|00001070| 69 66 69 65 73 20 74 68 | 65 20 63 6f 64 65 20 61 |ifies th|e code a|
|00001080| 6e 64 20 72 65 64 75 63 | 65 73 20 74 68 65 20 6e |nd reduc|es the n|
|00001090| 75 6d 62 65 72 20 6f 66 | 20 6d 61 6c 6c 6f 63 20 |umber of| malloc |
|000010a0| 63 61 6c 6c 73 2e 0d 0d | 20 20 20 20 20 20 20 20 |calls...| |
|000010b0| 2a 20 46 69 78 65 64 20 | 61 20 6e 75 6d 62 65 72 |* Fixed |a number|
|000010c0| 20 6f 66 20 73 75 62 74 | 6c 65 20 62 75 67 73 20 | of subt|le bugs |
|000010d0| 74 68 61 74 20 6f 63 63 | 75 72 72 65 64 20 77 68 |that occ|urred wh|
|000010e0| 65 6e 20 2d 53 20 77 61 | 73 0d 20 20 20 20 20 20 |en -S wa|s. |
|000010f0| 20 20 20 20 63 6f 6d 62 | 69 6e 65 64 20 77 69 74 | comb|ined wit|
|00001100| 68 20 76 61 72 69 6f 75 | 73 20 61 6e 64 20 73 75 |h variou|s and su|
|00001110| 6e 64 72 79 20 6f 70 74 | 69 6f 6e 73 2e 0d 0d 20 |ndry opt|ions... |
|00001120| 20 20 20 20 20 20 20 2a | 20 41 64 64 65 64 20 74 | *| Added t|
|00001130| 68 65 20 2d 47 20 6f 70 | 74 69 6f 6e 2c 20 74 68 |he -G op|tion, th|
|00001140| 61 74 20 6d 61 6b 65 73 | 20 74 68 65 20 67 65 6e |at makes| the gen|
|00001150| 65 72 61 74 65 64 20 6b | 65 79 77 6f 72 64 20 74 |erated k|eyword t|
|00001160| 61 62 6c 65 0d 20 20 20 | 20 20 20 20 20 20 20 61 |able. | a|
|00001170| 20 67 6c 6f 62 61 6c 20 | 73 74 61 74 69 63 20 76 | global |static v|
|00001180| 61 72 69 61 62 6c 65 2c | 20 72 61 74 68 65 72 20 |ariable,| rather |
|00001190| 74 68 61 6e 20 68 69 64 | 69 6e 67 20 69 74 20 69 |than hid|ing it i|
|000011a0| 6e 73 69 64 65 0d 20 20 | 20 20 20 20 20 20 20 20 |nside. | |
|000011b0| 74 68 65 20 6c 6f 6f 6b | 75 70 20 66 75 6e 63 74 |the look|up funct|
|000011c0| 69 6f 6e 2e 20 20 54 68 | 69 73 20 61 6c 6c 6f 77 |ion. Th|is allow|
|000011d0| 73 20 6f 74 68 65 72 20 | 66 75 6e 63 74 69 6f 6e |s other |function|
|000011e0| 73 20 74 6f 20 64 69 72 | 65 63 74 6c 79 0d 20 20 |s to dir|ectly. |
|000011f0| 20 20 20 20 20 20 20 20 | 61 63 63 65 73 73 20 74 | |access t|
|00001200| 68 65 20 63 6f 6e 74 65 | 6e 74 73 20 69 6e 20 74 |he conte|nts in t|
|00001210| 68 69 73 20 74 61 62 6c | 65 2e 0d 0d 53 61 74 20 |his tabl|e...Sat |
|00001220| 4a 75 6c 20 20 31 20 31 | 30 3a 31 32 3a 32 31 20 |Jul 1 1|0:12:21 |
|00001230| 31 39 38 39 20 20 44 6f | 75 67 20 53 63 68 6d 69 |1989 Do|ug Schmi|
|00001240| 64 74 20 20 28 73 63 68 | 6d 69 64 74 20 61 74 20 |dt (sch|midt at |
|00001250| 63 72 69 6d 65 65 2e 69 | 63 73 2e 75 63 69 2e 65 |crimee.i|cs.uci.e|
|00001260| 64 75 29 0d 0d 20 20 20 | 20 20 20 20 20 2a 20 41 |du).. | * A|
|00001270| 64 64 65 64 20 74 68 65 | 20 22 23 22 20 66 65 61 |dded the| "#" fea|
|00001280| 74 75 72 65 2c 20 74 68 | 61 74 20 61 6c 6c 6f 77 |ture, th|at allow|
|00001290| 73 20 63 6f 6d 6d 65 6e | 74 73 20 69 6e 73 69 64 |s commen|ts insid|
|000012a0| 65 20 74 68 65 20 6b 65 | 79 77 6f 72 64 0d 20 20 |e the ke|yword. |
|000012b0| 20 20 20 20 20 20 20 20 | 6c 69 73 74 20 66 72 6f | |list fro|
|000012c0| 6d 20 74 68 65 20 69 6e | 70 75 74 20 66 69 6c 65 |m the in|put file|
|000012d0| 2e 0d 20 20 20 20 20 20 | 20 20 20 20 0d 20 20 20 |.. | . |
|000012e0| 20 20 20 20 20 2a 20 41 | 6c 73 6f 20 61 64 64 65 | * A|lso adde|
|000012f0| 64 20 74 68 65 20 2d 48 | 20 6f 70 74 69 6f 6e 20 |d the -H| option |
|00001300| 28 75 73 65 72 20 63 61 | 6e 20 67 69 76 65 20 74 |(user ca|n give t|
|00001310| 68 65 20 6e 61 6d 65 20 | 6f 66 20 74 68 65 20 68 |he name |of the h|
|00001320| 61 73 68 0d 20 20 20 20 | 20 20 20 20 20 20 66 75 |ash. | fu|
|00001330| 6e 63 74 69 6f 6e 29 20 | 61 6e 64 20 74 68 65 20 |nction) |and the |
|00001340| 2d 54 20 6f 70 74 69 6f | 6e 20 28 70 72 65 76 65 |-T optio|n (preve|
|00001350| 6e 74 73 20 74 68 65 20 | 74 72 61 6e 73 66 65 72 |nts the |transfer|
|00001360| 20 6f 66 20 74 68 65 20 | 74 79 70 65 20 64 65 63 | of the |type dec|
|00001370| 6c 0d 20 20 20 20 20 20 | 20 20 20 20 74 6f 20 74 |l. | to t|
|00001380| 68 65 20 6f 75 74 70 75 | 74 20 66 69 6c 65 2c 20 |he outpu|t file, |
|00001390| 77 68 69 63 68 20 69 73 | 20 75 73 65 66 75 6c 20 |which is| useful |
|000013a0| 69 66 20 74 68 65 20 74 | 79 70 65 20 69 73 20 61 |if the t|ype is a|
|000013b0| 6c 72 65 61 64 79 20 64 | 65 66 69 6e 65 64 0d 20 |lready d|efined. |
|000013c0| 20 20 20 20 20 20 20 20 | 20 65 6c 73 65 77 68 65 | | elsewhe|
|000013d0| 72 65 29 2e 0d 0d 46 72 | 69 20 4a 75 6e 20 33 30 |re)...Fr|i Jun 30|
|000013e0| 20 31 38 3a 32 32 3a 33 | 35 20 31 39 38 39 20 20 | 18:22:3|5 1989 |
|000013f0| 44 6f 75 67 20 53 63 68 | 6d 69 64 74 20 20 28 73 |Doug Sch|midt (s|
|00001400| 63 68 6d 69 64 74 20 61 | 74 20 63 72 69 6d 65 65 |chmidt a|t crimee|
|00001410| 2e 69 63 73 2e 75 63 69 | 2e 65 64 75 29 0d 0d 20 |.ics.uci|.edu).. |
|00001420| 20 20 20 20 20 20 20 2a | 20 41 64 64 65 64 20 41 | *| Added A|
|00001430| 64 61 6d 20 64 65 20 42 | 6f 6f 72 27 73 20 63 68 |dam de B|oor's ch|
|00001440| 61 6e 67 65 73 2e 20 20 | 43 72 65 61 74 65 64 20 |anges. |Created |
|00001450| 61 6e 20 55 4e 53 45 54 | 5f 4f 50 54 49 4f 4e 20 |an UNSET|_OPTION |
|00001460| 6d 61 63 72 6f 2e 0d 0d | 53 61 74 20 4a 75 6e 20 |macro...|Sat Jun |
|00001470| 31 37 20 31 30 3a 35 36 | 3a 30 30 20 31 39 38 39 |17 10:56|:00 1989|
|00001480| 20 20 44 6f 75 67 20 53 | 63 68 6d 69 64 74 20 20 | Doug S|chmidt |
|00001490| 28 73 63 68 6d 69 64 74 | 20 61 74 20 67 6c 61 63 |(schmidt| at glac|
|000014a0| 69 65 72 2e 69 63 73 2e | 75 63 69 2e 65 64 75 29 |ier.ics.|uci.edu)|
|000014b0| 0d 0d 20 20 20 20 20 20 | 20 20 2a 20 4d 6f 64 69 |.. | * Modi|
|000014c0| 66 69 65 64 20 6f 70 74 | 69 6f 6e 2e 68 20 61 6e |fied opt|ion.h an|
|000014d0| 64 20 6f 70 74 69 6f 6e | 2e 63 20 73 6f 20 74 68 |d option|.c so th|
|000014e0| 61 74 20 61 6c 6c 20 6d | 69 78 65 64 20 6f 70 65 |at all m|ixed ope|
|000014f0| 72 61 74 69 6f 6e 73 0d | 20 20 20 20 20 20 20 20 |rations.| |
|00001500| 20 20 62 65 74 77 65 65 | 6e 20 69 6e 74 65 67 65 | betwee|n intege|
|00001510| 72 73 20 61 6e 64 20 65 | 6e 75 6d 65 72 61 6c 73 |rs and e|numerals|
|00001520| 20 61 72 65 20 63 61 73 | 74 20 63 6f 72 72 65 63 | are cas|t correc|
|00001530| 74 6c 79 20 74 6f 20 69 | 6e 74 2e 0d 20 20 20 20 |tly to i|nt.. |
|00001540| 20 20 20 20 20 20 54 68 | 69 73 20 70 72 65 76 65 | Th|is preve|
|00001550| 6e 74 73 20 65 72 72 6f | 72 73 20 69 6e 20 73 6f |nts erro|rs in so|
|00001560| 6d 65 20 62 72 61 69 6e | 2d 64 61 6d 61 67 65 64 |me brain|-damaged|
|00001570| 20 43 20 63 6f 6d 70 69 | 6c 65 72 73 2e 0d 0d 46 | C compi|lers...F|
|00001580| 72 69 20 4a 75 6e 20 31 | 36 20 31 34 3a 31 33 3a |ri Jun 1|6 14:13:|
|00001590| 31 35 20 31 39 38 39 20 | 20 44 6f 75 67 20 53 63 |15 1989 | Doug Sc|
|000015a0| 68 6d 69 64 74 20 20 28 | 73 63 68 6d 69 64 74 20 |hmidt (|schmidt |
|000015b0| 61 74 20 63 72 69 6d 65 | 65 2e 69 63 73 2e 75 63 |at crime|e.ics.uc|
|000015c0| 69 2e 65 64 75 29 0d 0d | 20 20 20 20 20 20 20 20 |i.edu)..| |
|000015d0| 2a 20 4d 6f 64 69 66 69 | 65 64 20 74 68 65 20 2d |* Modifi|ed the -|
|000015e0| 66 20 28 46 41 53 54 29 | 20 6f 70 74 69 6f 6e 2e |f (FAST)| option.|
|000015f0| 20 20 54 68 69 73 20 6e | 6f 77 20 74 61 6b 65 73 | This n|ow takes|
|00001600| 20 61 6e 20 61 72 67 75 | 6d 65 6e 74 2e 0d 20 20 | an argu|ment.. |
|00001610| 20 20 20 20 20 20 20 20 | 54 68 65 20 61 72 67 75 | |The argu|
|00001620| 6d 65 6e 74 20 63 6f 72 | 72 65 73 70 6f 6e 64 73 |ment cor|responds|
|00001630| 20 74 6f 20 74 68 65 20 | 6e 75 6d 62 65 72 20 6f | to the |number o|
|00001640| 66 20 69 74 65 72 61 74 | 69 6f 6e 73 20 75 73 65 |f iterat|ions use|
|00001650| 64 0d 20 20 20 20 20 20 | 20 20 20 20 74 6f 20 72 |d. | to r|
|00001660| 65 73 6f 6c 76 65 20 63 | 6f 6c 6c 69 73 69 6f 6e |esolve c|ollision|
|00001670| 73 2e 20 20 2d 66 20 30 | 20 75 73 65 73 20 74 68 |s. -f 0| uses th|
|00001680| 65 20 6c 65 6e 67 74 68 | 20 6f 66 20 74 68 65 0d |e length| of the.|
|00001690| 20 20 20 20 20 20 20 20 | 20 20 6b 65 79 77 6f 72 | | keywor|
|000016a0| 64 20 6c 69 73 74 20 28 | 77 68 69 63 68 20 69 73 |d list (|which is|
|000016b0| 20 77 68 61 74 20 2d 66 | 20 64 69 64 20 62 65 66 | what -f| did bef|
|000016c0| 6f 72 65 29 2e 20 20 54 | 68 69 73 20 6d 61 6b 65 |ore). T|his make|
|000016d0| 73 0d 20 20 20 20 20 20 | 20 20 20 20 6c 69 66 65 |s. | life|
|000016e0| 20 6d 75 63 68 20 65 61 | 73 69 65 72 20 77 68 65 | much ea|sier whe|
|000016f0| 6e 20 64 65 61 6c 69 6e | 67 20 77 69 74 68 20 6c |n dealin|g with l|
|00001700| 61 72 67 65 20 6b 65 79 | 77 6f 72 64 20 66 69 6c |arge key|word fil|
|00001710| 65 73 2e 0d 0d 57 65 64 | 20 4a 75 6e 20 20 37 20 |es...Wed| Jun 7 |
|00001720| 32 33 3a 30 37 3a 31 33 | 20 31 39 38 39 20 20 44 |23:07:13| 1989 D|
|00001730| 6f 75 67 20 53 63 68 6d | 69 64 74 20 20 28 73 63 |oug Schm|idt (sc|
|00001740| 68 6d 69 64 74 20 61 74 | 20 7a 6f 6c 61 2e 69 63 |hmidt at| zola.ic|
|00001750| 73 2e 75 63 69 2e 65 64 | 75 29 0d 0d 20 20 20 20 |s.uci.ed|u).. |
|00001760| 20 20 20 20 2a 20 55 70 | 64 61 74 65 64 20 74 6f | * Up|dated to|
|00001770| 20 76 65 72 73 69 6f 6e | 20 31 2e 38 20 69 6e 20 | version| 1.8 in |
|00001780| 70 72 65 70 61 72 61 74 | 69 6f 6e 20 74 6f 20 72 |preparat|ion to r|
|00001790| 65 6c 65 61 73 65 20 74 | 6f 20 44 6f 75 67 20 4c |elease t|o Doug L|
|000017a0| 65 61 0d 20 20 20 20 20 | 20 20 20 20 20 61 6e 64 |ea. | and|
|000017b0| 20 46 53 46 2e 0d 0d 20 | 20 20 20 20 20 20 20 2a | FSF... | *|
|000017c0| 20 41 64 64 65 64 20 74 | 68 65 20 2d 63 20 28 63 | Added t|he -c (c|
|000017d0| 6f 6d 70 61 72 69 73 6f | 6e 29 20 6f 70 74 69 6f |ompariso|n) optio|
|000017e0| 6e 2e 20 20 45 6e 61 62 | 6c 69 6e 67 20 74 68 69 |n. Enab|ling thi|
|000017f0| 73 0d 20 20 20 20 20 20 | 20 20 20 20 77 69 6c 6c |s. | will|
|00001800| 20 75 73 65 20 74 68 65 | 20 73 74 72 6e 63 6d 70 | use the| strncmp|
|00001810| 20 66 75 6e 63 74 69 6f | 6e 20 66 6f 72 20 73 74 | functio|n for st|
|00001820| 72 69 6e 67 20 63 6f 6d | 70 61 72 69 73 6f 6e 73 |ring com|parisons|
|00001830| 2e 0d 20 20 20 20 20 20 | 20 20 20 20 54 68 65 20 |.. | The |
|00001840| 64 65 66 61 75 6c 74 20 | 69 73 20 74 6f 20 75 73 |default |is to us|
|00001850| 65 20 73 74 72 63 6d 70 | 2e 0d 0d 54 75 65 20 4a |e strcmp|...Tue J|
|00001860| 75 6e 20 20 36 20 31 36 | 3a 33 32 3a 30 39 20 31 |un 6 16|:32:09 1|
|00001870| 39 38 39 20 20 44 6f 75 | 67 20 53 63 68 6d 69 64 |989 Dou|g Schmid|
|00001880| 74 20 20 28 73 63 68 6d | 69 64 74 20 61 74 20 7a |t (schm|idt at z|
|00001890| 6f 6c 61 2e 69 63 73 2e | 75 63 69 2e 65 64 75 29 |ola.ics.|uci.edu)|
|000018a0| 0d 0d 20 20 20 20 20 20 | 20 20 2a 20 46 69 78 65 |.. | * Fixe|
|000018b0| 64 20 61 6e 6f 74 68 65 | 72 20 73 74 75 70 69 64 |d anothe|r stupid|
|000018c0| 20 74 79 70 6f 20 69 6e | 20 78 6d 61 6c 6c 6f 63 | typo in| xmalloc|
|000018d0| 2e 63 20 28 58 4d 41 4c | 4c 4f 43 29 2e 20 20 49 |.c (XMAL|LOC). I|
|000018e0| 20 61 63 63 69 64 65 6e | 74 61 6c 6c 79 0d 20 20 | acciden|tally. |
|000018f0| 20 20 20 20 20 20 20 20 | 6c 65 66 74 20 74 68 65 | |left the|
|00001900| 20 41 4e 53 49 2d 66 69 | 65 64 20 70 72 6f 74 6f | ANSI-fi|ed proto|
|00001910| 74 79 70 65 20 69 6e 20 | 70 6c 61 63 65 2e 20 20 |type in |place. |
|00001920| 54 68 69 73 20 6f 62 76 | 69 6f 75 73 6c 79 0d 20 |This obv|iously. |
|00001930| 20 20 20 20 20 20 20 20 | 20 66 61 69 6c 73 20 6f | | fails o|
|00001940| 6e 20 6f 6c 64 2d 73 74 | 79 6c 65 20 43 20 63 6f |n old-st|yle C co|
|00001950| 6d 70 69 6c 65 72 73 2e | 0d 0d 20 20 20 20 20 20 |mpilers.|.. |
|00001960| 20 20 2a 20 46 69 78 65 | 64 20 73 74 75 70 69 64 | * Fixe|d stupid|
|00001970| 20 74 79 70 6f 73 20 69 | 6e 20 50 52 49 4e 54 5f | typos i|n PRINT_|
|00001980| 53 57 49 54 43 48 20 66 | 72 6f 6d 20 74 68 65 20 |SWITCH f|rom the |
|00001990| 6b 65 79 6c 69 73 74 2e | 63 2e 20 20 54 68 69 73 |keylist.|c. This|
|000019a0| 0d 20 20 20 20 20 20 20 | 20 20 20 63 61 75 73 65 |. | cause|
|000019b0| 64 20 74 68 65 20 2d 44 | 20 6f 70 74 69 6f 6e 20 |d the -D| option |
|000019c0| 74 6f 20 70 72 6f 64 75 | 63 65 20 69 6e 63 6f 72 |to produ|ce incor|
|000019d0| 72 65 63 74 20 6f 75 74 | 70 75 74 20 77 68 65 6e |rect out|put when|
|000019e0| 20 75 73 65 64 0d 20 20 | 20 20 20 20 20 20 20 20 | used. | |
|000019f0| 69 6e 20 63 6f 6e 6a 75 | 6e 63 74 69 6f 6e 20 77 |in conju|nction w|
|00001a00| 69 74 68 20 2d 70 20 61 | 6e 64 20 2d 74 2e 0d 20 |ith -p a|nd -t.. |
|00001a10| 20 20 20 20 20 20 20 20 | 20 0d 20 20 20 20 20 20 | | . |
|00001a20| 20 20 2a 20 52 65 70 6c | 61 63 65 64 20 74 68 65 | * Repl|aced the|
|00001a30| 20 75 73 65 20 6f 66 20 | 53 54 52 43 4d 50 20 77 | use of |STRCMP w|
|00001a40| 69 74 68 20 53 54 52 4e | 43 4d 50 20 66 6f 72 20 |ith STRN|CMP for |
|00001a50| 74 68 65 20 67 65 6e 65 | 72 61 74 65 64 0d 20 20 |the gene|rated. |
|00001a60| 20 20 20 20 20 20 20 20 | 43 20 6f 75 74 70 75 74 | |C output|
|00001a70| 20 63 6f 64 65 2e 20 20 | 20 20 20 20 20 20 20 20 | code. | |
|00001a80| 0d 0d 46 72 69 20 4a 75 | 6e 20 20 32 20 32 33 3a |..Fri Ju|n 2 23:|
|00001a90| 31 36 3a 30 31 20 31 39 | 38 39 20 20 44 6f 75 67 |16:01 19|89 Doug|
|00001aa0| 20 53 63 68 6d 69 64 74 | 20 20 28 73 63 68 6d 69 | Schmidt| (schmi|
|00001ab0| 64 74 20 61 74 20 74 72 | 69 6e 69 74 65 2e 69 63 |dt at tr|inite.ic|
|00001ac0| 73 2e 75 63 69 2e 65 64 | 75 29 0d 0d 20 20 20 20 |s.uci.ed|u).. |
|00001ad0| 20 20 20 20 2a 20 41 64 | 64 65 64 20 61 20 6e 65 | * Ad|ded a ne|
|00001ae0| 77 20 66 75 6e 63 74 69 | 6f 6e 20 28 58 4d 41 4c |w functi|on (XMAL|
|00001af0| 4c 4f 43 29 20 61 6e 64 | 20 66 69 6c 65 20 28 78 |LOC) and| file (x|
|00001b00| 6d 61 6c 6c 6f 63 2e 63 | 29 2e 20 20 41 6c 6c 0d |malloc.c|). All.|
|00001b10| 20 20 20 20 20 20 20 20 | 20 20 63 61 6c 6c 73 20 | | calls |
|00001b20| 74 6f 20 4d 41 4c 4c 4f | 43 20 77 65 72 65 20 72 |to MALLO|C were r|
|00001b30| 65 70 6c 61 63 65 64 20 | 62 79 20 63 61 6c 6c 73 |eplaced |by calls|
|00001b40| 20 74 6f 20 58 4d 41 4c | 4c 4f 43 2e 20 20 54 68 | to XMAL|LOC. Th|
|00001b50| 69 73 20 0d 20 20 20 20 | 20 20 20 20 20 20 77 69 |is . | wi|
|00001b60| 6c 6c 20 63 6f 6d 70 6c | 61 69 6e 20 77 68 65 6e |ll compl|ain when|
|00001b70| 20 76 69 72 74 75 61 6c | 20 6d 65 6d 6f 72 79 20 | virtual| memory |
|00001b80| 72 75 6e 73 20 6f 75 74 | 20 28 64 6f 6e 27 74 20 |runs out| (don't |
|00001b90| 6c 61 75 67 68 2c 20 0d | 20 20 20 20 20 20 20 20 |laugh, .| |
|00001ba0| 20 20 74 68 69 73 20 68 | 61 73 20 68 61 70 70 65 | this h|as happe|
|00001bb0| 6e 65 64 21 29 0d 0d 54 | 68 75 20 4a 75 6e 20 20 |ned!)..T|hu Jun |
|00001bc0| 31 20 32 31 3a 31 30 3a | 31 30 20 31 39 38 39 20 |1 21:10:|10 1989 |
|00001bd0| 20 44 6f 75 67 20 53 63 | 68 6d 69 64 74 20 20 28 | Doug Sc|hmidt (|
|00001be0| 73 63 68 6d 69 64 74 20 | 61 74 20 7a 6f 6c 61 2e |schmidt |at zola.|
|00001bf0| 69 63 73 2e 75 63 69 2e | 65 64 75 29 0d 0d 20 20 |ics.uci.|edu).. |
|00001c00| 20 20 20 20 20 20 2a 20 | 46 69 78 65 64 20 61 20 | * |Fixed a |
|00001c10| 74 79 70 6f 20 69 6e 20 | 6f 70 74 69 6f 6e 73 2e |typo in |options.|
|00001c20| 63 20 74 68 61 74 20 70 | 72 65 76 65 6e 74 65 64 |c that p|revented|
|00001c30| 20 74 68 65 20 2d 66 20 | 6f 70 74 69 6f 6e 0d 20 | the -f |option. |
|00001c40| 20 20 20 20 20 20 20 20 | 20 66 72 6f 6d 20 62 65 | | from be|
|00001c50| 69 6e 67 20 67 69 76 65 | 6e 20 6f 6e 20 74 68 65 |ing give|n on the|
|00001c60| 20 63 6f 6d 6d 61 6e 64 | 2d 6c 69 6e 65 2e 0d 0d | command|-line...|
|00001c70| 57 65 64 20 4d 61 79 20 | 20 33 20 31 37 3a 34 38 |Wed May | 3 17:48|
|00001c80| 3a 30 32 20 31 39 38 39 | 20 20 44 6f 75 67 20 53 |:02 1989| Doug S|
|00001c90| 63 68 6d 69 64 74 20 20 | 28 73 63 68 6d 69 64 74 |chmidt |(schmidt|
|00001ca0| 20 61 74 20 7a 6f 6c 61 | 2e 69 63 73 2e 75 63 69 | at zola|.ics.uci|
|00001cb0| 2e 65 64 75 29 0d 0d 20 | 20 20 20 20 20 20 20 2a |.edu).. | *|
|00001cc0| 20 55 70 64 61 74 65 64 | 20 74 6f 20 76 65 72 73 | Updated| to vers|
|00001cd0| 69 6f 6e 20 31 2e 37 2e | 20 20 54 68 69 73 20 72 |ion 1.7.| This r|
|00001ce0| 65 66 6c 65 63 74 73 20 | 74 68 65 20 72 65 63 65 |eflects |the rece|
|00001cf0| 6e 74 20 6d 61 6a 6f 72 | 20 63 68 61 6e 67 65 73 |nt major| changes|
|00001d00| 0d 20 20 20 20 20 20 20 | 20 20 20 61 6e 64 20 74 |. | and t|
|00001d10| 68 65 20 6e 65 77 20 43 | 20 70 6f 72 74 2e 0d 0d |he new C| port...|
|00001d20| 20 20 20 20 20 20 20 20 | 2a 20 46 69 78 65 64 20 | |* Fixed |
|00001d30| 61 20 74 79 70 6f 20 69 | 6e 20 70 65 72 66 65 63 |a typo i|n perfec|
|00001d40| 74 2e 63 20 70 65 72 66 | 65 63 74 5f 64 65 73 74 |t.c perf|ect_dest|
|00001d50| 72 6f 79 20 74 68 61 74 | 20 70 72 65 76 65 6e 74 |roy that| prevent|
|00001d60| 65 64 20 74 68 65 20 61 | 63 74 75 61 6c 20 0d 20 |ed the a|ctual . |
|00001d70| 20 20 20 20 20 20 20 20 | 20 6d 61 78 69 6d 75 6d | | maximum|
|00001d80| 20 68 61 73 68 20 74 61 | 62 6c 65 20 73 69 7a 65 | hash ta|ble size|
|00001d90| 20 66 72 6f 6d 20 62 65 | 69 6e 67 20 70 72 69 6e | from be|ing prin|
|00001da0| 74 65 64 2e 0d 0d 20 20 | 20 20 20 20 20 20 2a 20 |ted... | * |
|00001db0| 41 64 64 65 64 20 73 75 | 70 70 6f 72 74 20 66 6f |Added su|pport fo|
|00001dc0| 72 20 74 68 65 20 2d 66 | 20 6f 70 74 69 6f 6e 2e |r the -f| option.|
|00001dd0| 20 20 54 68 69 73 20 67 | 65 6e 65 72 61 74 65 73 | This g|enerates|
|00001de0| 20 74 68 65 20 70 65 72 | 66 65 63 74 0d 20 20 20 | the per|fect. |
|00001df0| 20 20 20 20 20 20 20 68 | 61 73 68 20 66 75 6e 63 | h|ash func|
|00001e00| 74 69 6f 6e 20 60 60 66 | 61 73 74 2e 27 27 20 20 |tion ``f|ast.'' |
|00001e10| 49 74 20 72 65 64 75 63 | 65 73 20 74 68 65 20 65 |It reduc|es the e|
|00001e20| 78 65 63 75 74 69 6f 6e | 20 74 69 6d 65 20 6f 66 |xecution| time of|
|00001e30| 0d 20 20 20 20 20 20 20 | 20 20 20 67 70 65 72 66 |. | gperf|
|00001e40| 2c 20 61 74 20 74 68 65 | 20 63 6f 73 74 20 6f 66 |, at the| cost of|
|00001e50| 20 6d 69 6e 69 6d 69 7a | 69 6e 67 20 74 68 65 20 | minimiz|ing the |
|00001e60| 72 61 6e 67 65 20 6f 66 | 20 68 61 73 68 20 76 61 |range of| hash va|
|00001e70| 6c 75 65 73 2e 0d 0d 54 | 75 65 20 4d 61 79 20 20 |lues...T|ue May |
|00001e80| 32 20 31 36 3a 32 33 3a | 32 39 20 31 39 38 39 20 |2 16:23:|29 1989 |
|00001e90| 20 44 6f 75 67 20 53 63 | 68 6d 69 64 74 20 20 28 | Doug Sc|hmidt (|
|00001ea0| 73 63 68 6d 69 64 74 20 | 61 74 20 63 72 69 6d 65 |schmidt |at crime|
|00001eb0| 65 2e 69 63 73 2e 75 63 | 69 2e 65 64 75 29 0d 0d |e.ics.uc|i.edu)..|
|00001ec0| 20 20 20 20 20 20 20 20 | 2a 20 45 6e 61 62 6c 65 | |* Enable|
|00001ed0| 64 20 74 68 65 20 64 69 | 61 67 6e 6f 73 74 69 63 |d the di|agnostic|
|00001ee0| 73 20 64 75 6d 70 20 69 | 66 20 74 68 65 20 64 65 |s dump i|f the de|
|00001ef0| 62 75 67 67 69 6e 67 20 | 6f 70 74 69 6f 6e 20 69 |bugging |option i|
|00001f00| 73 20 65 6e 61 62 6c 65 | 64 2e 0d 20 20 20 20 20 |s enable|d.. |
|00001f10| 20 20 20 0d 20 20 20 20 | 20 20 20 20 2a 20 52 65 | . | * Re|
|00001f20| 6d 6f 76 65 64 20 61 6c | 6c 20 63 61 6c 6c 73 20 |moved al|l calls |
|00001f30| 74 6f 20 46 52 45 45 20 | 28 73 69 6c 6c 79 20 74 |to FREE |(silly t|
|00001f40| 6f 20 64 6f 20 74 68 69 | 73 20 61 74 20 70 72 6f |o do thi|s at pro|
|00001f50| 67 72 61 6d 20 74 65 72 | 6d 69 6e 61 74 69 6f 6e |gram ter|mination|
|00001f60| 29 2e 0d 0d 20 20 20 20 | 20 20 20 20 2a 20 50 6f |)... | * Po|
|00001f70| 72 74 65 64 20 67 70 65 | 72 66 20 74 6f 20 43 2e |rted gpe|rf to C.|
|00001f80| 20 20 46 72 6f 6d 20 6e | 6f 77 20 6f 6e 20 62 6f | From n|ow on bo|
|00001f90| 74 68 20 4b 26 52 20 43 | 20 61 6e 64 20 47 4e 55 |th K&R C| and GNU|
|00001fa0| 20 47 2b 2b 20 76 65 72 | 73 69 6f 6e 73 0d 20 20 | G++ ver|sions. |
|00001fb0| 20 20 20 20 20 20 20 20 | 77 69 6c 6c 20 62 65 20 | |will be |
|00001fc0| 73 75 70 70 6f 72 74 65 | 64 2e 0d 0d 00 00 00 00 |supporte|d.......|
|00001fd0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001fe0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001ff0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002000| 00 00 01 00 00 00 01 6e | 00 00 00 6e 00 00 00 3e |.......n|...n...>|
|00002010| 00 00 00 02 d0 02 40 90 | 00 04 00 aa 00 a1 00 ba |......@.|........|
|00002020| 00 b9 00 aa 00 a7 00 ba | 00 b7 00 aa 00 a7 00 ba |........|........|
|00002030| 09 43 68 61 6e 67 65 4c | 6f 67 02 00 00 00 54 45 |.ChangeL|og....TE|
|00002040| 58 54 4b 41 48 4c 01 00 | 00 00 00 00 00 00 00 00 |XTKAHL..|........|
|00002050| 00 00 54 45 58 54 4b 41 | 48 4c 01 00 00 00 00 00 |..TEXTKA|HL......|
|00002060| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002070| 00 00 a3 fd e2 49 00 00 | 1f 4c 00 00 01 ac 16 00 |.....I..|.L......|
|00002080| 01 00 00 00 01 00 01 4c | 57 52 52 09 4d 50 57 20 |.......L|WRR.MPW |
|00002090| 53 68 65 6c 6c 00 00 01 | 00 00 00 02 95 00 00 01 |Shell...|........|
|000020a0| 95 00 00 00 7e 00 5d dc | 04 10 2a 00 00 00 1c 00 |....~.].|..*.....|
|000020b0| 7e 00 02 53 54 52 20 00 | 01 00 1a 50 41 50 41 00 |~..STR .|...PAPA.|
|000020c0| 00 00 32 50 52 45 43 00 | 02 00 3e e0 03 ff ff 00 |..2PREC.|..>.....|
|000020d0| 00 00 00 00 03 bd 00 e0 | 00 ff ff 00 00 00 54 00 |........|......T.|
|000020e0| 03 bc f8 e0 00 ff ff 00 | 00 00 78 00 03 bb bc 00 |........|..x.....|
|000020f0| 7c ff ff 00 00 00 e3 00 | 5d db 88 00 7d ff ff 00 ||.......|]...}...|
|00002100| 00 00 00 48 00 09 4d 6f | 6e 61 63 6f 00 29 00 02 |...H..Mo|naco.)..|
|00002110| 00 29 02 0d 02 e8 00 02 | 02 e8 02 0d 7f f5 80 0a |.)......|........|
|00002120| 7f f5 7f f5 00 00 00 06 | 00 04 00 29 00 02 02 f7 |........|...)....|
|00002130| 02 1c 00 29 00 02 02 f7 | 02 1c a3 fd e2 49 00 00 |...)....|.....I..|
|00002140| 00 00 00 00 00 00 00 00 | 00 00 01 00 00 00 00 1e |........|........|
|00002150| 00 29 00 02 02 f7 02 1c | 00 29 00 02 02 f7 02 1c |.)......|.)......|
|00002160| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002170| 01 00 00 00 01 6e 00 00 | 00 6e 00 00 00 3e 00 46 |.....n..|.n...>.F|
|00002180| 5e 50 0d f6 00 00 00 1c | 00 3e 00 00 4d 50 53 52 |^P......|.>..MPSR|
|00002190| 00 01 00 0a 03 ed ff ff | 00 00 00 00 00 00 00 00 |........|........|
|000021a0| 03 f0 ff ff 00 00 00 4c | 00 48 5f 74 00 00 00 00 |.......L|.H_t....|
|000021b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000021c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000021d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000021e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000021f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
+--------+-------------------------+-------------------------+--------+--------+